<div class="navbar navbar-default navbar-simple">
	<div class="container">
		<div class="navbar-brand">
			<a href="{{ url('/') }}">
				<img src="{{ asset('/imgs/logo.png') }}" alt="" height="100%" />
			</a>
		</div>
		<ul class="nav navbar-nav">
			@foreach($categories as $ct)
				<li><a href="{{ url('/categories/'.$ct->order) }}">{{ mb_substr($ct->name, 0,2) }}</a></li>
			@endforeach
		</ul>
		<ul class="nav navbar-nav navbar-right">
			<li>
				@if(Auth::check())
				<a href="{{ url('/cs/bookshelves') }}">
					<span class="fa fa-fw fa-book"></span>
					我的书架
				</a>
				@else
				<a href="{{ url('/login') }}">
					<span class="fa fa-fw fa-user"></span>
					登录/注册
				</a>
				@endif
			</li>
		</ul>
	</div>
</div>
		